package com.shilei.bridge;

/**
 * @description:
 * @author: 81271
 * @date: 2020-04-23 20:17
 */
public class GG {
    void chase(MM mm) {
        Gift gift = new WarmGift(new Book());
        give(mm, gift);
    }

    private void give(MM mm, Gift gift) {
        System.out.println(gift + "gift");
    }

}
